package lol.clann.minecraft.springboot.api.bukkit.model;

import lol.clann.minecraft.springboot.api.annotation.config.TranslateColoreCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import relocate.ninja.leaping.configurate.objectmapping.Setting;
import relocate.ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable;

/**
 * @author pyz
 * @date 2019/5/22 9:15 PM
 */
@Getter
@Setter
@ToString
@ConfigSerializable
public class Title {
    @TranslateColoreCode
    @Setting(value = "title", comment = "title")
    private String title;
    @TranslateColoreCode
    @Setting(value = "subtitle", comment = "subtitle")
    private String subtitle;
    @Setting(value = "fadeIn", comment = "fadeIn")
    private int fadeIn;
    @Setting(value = "stay", comment = "stay")
    private int stay;
    @Setting(value = "fadeOut", comment = "fadeOut")
    private int fadeOut;
}
